package cobersky.skinUI.components
{
	import cobersky.skinUI.core.Component;
	import cobersky.skinUI.skins.scrollerbar.DefaultVScrollerBarSkin;

	public class VScrollerBar extends ScrollerBarBase
	{
		public function VScrollerBar()
		{
		}
		override public function create():void{
			if(!_skinClass)_skinClass=DefaultVScrollerBarSkin;
			attachSkin();
			_bar.y=_subButton.height;
			_plusButton.y=_bar.y+_bar.height;
		}
		
		override public function set height(value:Number):void
		{
			_bar.height=value-_plusButton.height-_subButton.height;
			_plusButton.y=value-_plusButton.height;
		}
		
		
	}
}